using IM.Easy.Infrastructure.Query;
using SqlSugar;
using System.ComponentModel.DataAnnotations;


namespace IM.Easy.SystemServices.Dtos
{
    /// <summary>
    /// 文件类型表查询实体
    /// </summary>
    public class FileTypesQueryDto : QueryBase
    {
    }

    /// <summary>
    /// 文件类型表dto
    /// </summary>
    public class FileTypesDto
    {
        /// <summary>
        /// 
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 主类别
        /// </summary>
        public string Group { get; set; }

        /// <summary>
        /// 类型名称
        /// </summary>
        public string TypeName { get; set; }
        /// <summary>
        /// 扩展名
        /// </summary>
        public List<string> Extension { get; set; }
        /// <summary>
        /// MIME类型
        /// </summary>
        public string MimeType { get; set; }
        /// <summary>
        /// 是否允许
        /// </summary>
        public bool IsActive { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Order { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; }


        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedAt { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public long CreatedBy { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdatedAt { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        public long UpdatedBy { get; set; }
    }
}
